<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>提示消息</title>
    <link rel="stylesheet" href="/css/base.css">
    <link rel="stylesheet" href="/css/iconfont.css">
    <style>
        .card{background-color: #fff;width:400px;height:350px;position:absolute;left:50%;top:10%;margin-left:-200px;padding:0;}
        @media (max-width:768px) {
            .card{width:90vw;left:5vw;margin-left:0;border-radius: 5px;}
        }
    </style>
</head>
<body style="width:100vw;height:100vh;overflow: hidden;background-color: #efefef;">
    <div class="card">
        <h3 style="height:35px;line-height: 35px;text-indent: 10px;background-color: dodgerblue;color:#fff;">提示消息</h3>
        <div class="body" style="padding:15px;height:calc(100% - 107px)">
            <div style="color:dodgerblue;text-align: center;">
                <span class="iconfont icon-info-circle" style="font-size:80px;"></span>
            </div>
            <div class="msg" style="text-align: center;margin-top:20px;">
                {{.msg}}            
            </div>
        </div>
        <div style="text-align: center;padding:7px;border-top:1px dashed #ccc;">
            {{if eq .redirectUrl ""}}
            <button onclick="history.back()">返回</button>
            {{else}}
            <button onclick="window.location.href='{{.redirectUrl}}'">返回</button>
            {{end}}
        </div>
    </div>
</body>
</html>
